package com.mul.springclouddemo.demo;


import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 *
 * eureka服务端模块
 * */
@SpringBootApplication
@EnableEurekaServer
public class EurekaServerModule {

    private static Logger logger = LogManager.getLogger(EurekaServerModule.class);
    public static void main(String[] args) {
        SpringApplication.run(EurekaServerModule.class, args);
        logger.info("eureka-server started.");
    }

}
